package com.mars.demo.service;

import com.mars.demo.response.Response;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestRibbonService {

    @RequestMapping(value = "/test/ribbon", method = RequestMethod.GET)
    public String testRibbon(@RequestParam("count") int count) throws Exception{
        return "user provider2 => 端口：8081 => 第几次调用：" + count;
    }
}
